package com.itheima.pojo;

public class FoodCategory {
    private Long categoryId;
    private String category;

    public FoodCategory() {
    }

    public FoodCategory(Long categoryId, String category) {
        this.categoryId = categoryId;
        this.category = category;
    }

    /**
     * 获取
     * @return categoryId
     */
    public Long getCategoryId() {
        return categoryId;
    }

    /**
     * 设置
     * @param categoryId
     */
    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    /**
     * 获取
     * @return category
     */
    public String getCategory() {
        return category;
    }

    /**
     * 设置
     * @param category
     */
    public void setCategory(String category) {
        this.category = category;
    }

    public String toString() {
        return "FoodCategory{categoryId = " + categoryId + ", category = " + category + "}";
    }
}
